package com.adams.access.db.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 904411 吴昌承 Create: @2010-4-22
 * 
 */
@Entity
@Table(name = "T_SHORTCUT")
public class Shortcut extends EntityObject
{

	private static final long serialVersionUID = -3037336881341734554L;

	private Long userId;// 用户id

	private Long menuId;// 菜单id

	@Column(length = 24, nullable = false)
	public Long getUserId()
	{
		return userId;
	}

	public void setUserId(Long userId)
	{
		this.userId = userId;
	}

	@Column(length = 24, nullable = false)
	public Long getMenuId()
	{
		return menuId;
	}

	public void setMenuId(Long menuId)
	{
		this.menuId = menuId;
	}

}
